package com.yt.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 用户角色信息VO
 *
 * @author chen
 * @Date 2025-09-05 18:51:40
 */
@Data
public class SysUserRoleVO implements Serializable {
    @ApiModelProperty(value = "关联ID")
    private Long id;
    @ApiModelProperty(value = "数据版本号（乐观锁控制）")
    private Integer revision;
    @ApiModelProperty(value = "关联用户ID（关联sys_user.id）")
    private Long userId;
    @ApiModelProperty(value = "关联角色ID（关联sys_role.id）")
    private Long roleId;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
}
